(self.webpackChunkpromptmanager=self.webpackChunkpromptmanager||[]).push([[3533],{83449:function(e,t,n){"use strict";n.d(t,{ZP:function(){return l},_i:function(){return s},pQ:function(){return u},uU:function(){return c}});var r=n(29439),o=n(72791),i=n(80184),a=o.createContext(null);function l(e){var t=e.children,n=e.value,l=function(){var e=o.useState(null),t=(0,r.Z)(e,2),n=t[0],i=t[1];return o.useEffect((function(){i("mui-p-".concat(Math.round(1e5*Math.random())))}),[]),n}(),s=o.useMemo((function(){return{idPrefix:l,value:n}}),[l,n]);return(0,i.jsx)(a.Provider,{value:s,children:t})}function s(){return o.useContext(a)}function c(e,t){return null===e.idPrefix?null:"".concat(e.idPrefix,"-P-").concat(t)}function u(e,t){return null===e.idPrefix?null:"".concat(e.idPrefix,"-T-").concat(t)}},47283:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(72791),a=n(39124),l=n(83449),s=n(80184),c=["children"],u=i.forwardRef((function(e,t){var n=e.children,u=(0,o.Z)(e,c),d=(0,l._i)();if(null===d)throw new TypeError("No TabContext provided");var g=i.Children.map(n,(function(e){return i.isValidElement(e)?i.cloneElement(e,{"aria-controls":(0,l.uU)(d,e.props.value),id:(0,l.pQ)(d,e.props.value)}):null}));return(0,s.jsx)(a.Z,(0,r.Z)({},u,{ref:t,value:d.value,children:g}))}));t.Z=u},82851:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(87462),o=n(63366),i=n(72791),a=n(28182),l=n(66934),s=n(31402),c=n(94419),u=n(21217);function d(e){return(0,u.Z)("MuiTabPanel",e)}(0,n(75878).Z)("MuiTabPanel",["root"]);var g=n(83449),f=n(80184),p=["children","className","value"],h=(0,l.ZP)("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:function(e,t){return t.root}})((function(e){return{padding:e.theme.spacing(3)}})),v=i.forwardRef((function(e,t){var n=(0,s.Z)({props:e,name:"MuiTabPanel"}),i=n.children,l=n.className,u=n.value,v=(0,o.Z)(n,p),b=(0,r.Z)({},n),x=function(e){var t=e.classes;return(0,c.Z)({root:["root"]},d,t)}(b),m=(0,g._i)();if(null===m)throw new TypeError("No TabContext provided");var k=(0,g.uU)(m,u),w=(0,g.pQ)(m,u);return(0,f.jsx)(h,(0,r.Z)({"aria-labelledby":w,className:(0,a.Z)(x.root,l),hidden:u!==m.value,id:k,ref:t,role:"tabpanel",ownerState:b},v,{children:u===m.value&&i}))}))},94070:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(4942),o=n(63366),i=n(87462),a=n(72791),l=n(28182),s=n(94419),c=n(12065),u=n(66934),d=n(31402),g=n(14036),f=n(35527),p=n(75878),h=n(21217);function v(e){return(0,h.Z)("MuiAlert",e)}var b=(0,p.Z)("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),x=n(13400),m=n(74223),k=n(80184),w=(0,m.Z)((0,k.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Z=(0,m.Z)((0,k.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),A=(0,m.Z)((0,k.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),y=(0,m.Z)((0,k.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),C=n(8799),S=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],q=(0,u.ZP)(f.Z,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat((0,g.Z)(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,o="light"===t.palette.mode?c._j:c.$n,a="light"===t.palette.mode?c.$n:c._j,l=n.color||n.severity;return(0,i.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},l&&"standard"===n.variant&&(0,r.Z)({color:t.vars?t.vars.palette.Alert["".concat(l,"Color")]:o(t.palette[l].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(l,"StandardBg")]:a(t.palette[l].light,.9)},"& .".concat(b.icon),t.vars?{color:t.vars.palette.Alert["".concat(l,"IconColor")]}:{color:t.palette[l].main}),l&&"outlined"===n.variant&&(0,r.Z)({color:t.vars?t.vars.palette.Alert["".concat(l,"Color")]:o(t.palette[l].light,.6),border:"1px solid ".concat((t.vars||t).palette[l].light)},"& .".concat(b.icon),t.vars?{color:t.vars.palette.Alert["".concat(l,"IconColor")]}:{color:t.palette[l].main}),l&&"filled"===n.variant&&(0,i.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert["".concat(l,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(l,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[l].dark:t.palette[l].main,color:t.palette.getContrastText(t.palette[l].main)}))})),M=(0,u.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),_=(0,u.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0",minWidth:0,overflow:"auto"}),R=(0,u.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),B={success:(0,k.jsx)(w,{fontSize:"inherit"}),warning:(0,k.jsx)(Z,{fontSize:"inherit"}),error:(0,k.jsx)(A,{fontSize:"inherit"}),info:(0,k.jsx)(y,{fontSize:"inherit"})},T=a.forwardRef((function(e,t){var n,r,a,c,u,f,p=(0,d.Z)({props:e,name:"MuiAlert"}),h=p.action,b=p.children,m=p.className,w=p.closeText,Z=void 0===w?"Close":w,A=p.color,y=p.components,T=void 0===y?{}:y,P=p.componentsProps,E=void 0===P?{}:P,F=p.icon,W=p.iconMapping,z=void 0===W?B:W,L=p.onClose,N=p.role,j=void 0===N?"alert":N,I=p.severity,H=void 0===I?"success":I,$=p.slotProps,X=void 0===$?{}:$,Y=p.slots,D=void 0===Y?{}:Y,U=p.variant,V=void 0===U?"standard":U,O=(0,o.Z)(p,S),K=(0,i.Z)({},p,{color:A,severity:H,variant:V}),Q=function(e){var t=e.variant,n=e.color,r=e.severity,o=e.classes,i={root:["root","".concat(t).concat((0,g.Z)(n||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,s.Z)(i,v,o)}(K),G=null!=(n=null!=(r=D.closeButton)?r:T.CloseButton)?n:x.Z,J=null!=(a=null!=(c=D.closeIcon)?c:T.CloseIcon)?a:C.Z,ee=null!=(u=X.closeButton)?u:E.closeButton,te=null!=(f=X.closeIcon)?f:E.closeIcon;return(0,k.jsxs)(q,(0,i.Z)({role:j,elevation:0,ownerState:K,className:(0,l.Z)(Q.root,m),ref:t},O,{children:[!1!==F?(0,k.jsx)(M,{ownerState:K,className:Q.icon,children:F||z[H]||B[H]}):null,(0,k.jsx)(_,{ownerState:K,className:Q.message,children:b}),null!=h?(0,k.jsx)(R,{ownerState:K,className:Q.action,children:h}):null,null==h&&L?(0,k.jsx)(R,{ownerState:K,className:Q.action,children:(0,k.jsx)(G,(0,i.Z)({size:"small","aria-label":Z,title:Z,color:"inherit",onClick:L},ee,{children:(0,k.jsx)(J,(0,i.Z)({fontSize:"small"},te))}))}):null]}))}))},43896:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(4942),o=n(63366),i=n(87462),a=n(72791),l=n(28182),s=n(94419),c=n(23701),u=n(14036),d=n(31402),g=n(66934),f=n(75878),p=n(21217);function h(e){return(0,p.Z)("MuiTab",e)}var v=(0,f.Z)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),b=n(80184),x=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],m=(0,g.ZP)(c.Z,{name:"MuiTab",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.label&&n.icon&&t.labelIcon,t["textColor".concat((0,u.Z)(n.textColor))],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((function(e){var t,n,o,a=e.theme,l=e.ownerState;return(0,i.Z)({},a.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},l.label&&{flexDirection:"top"===l.iconPosition||"bottom"===l.iconPosition?"column":"row"},{lineHeight:1.25},l.icon&&l.label&&(0,r.Z)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(v.iconWrapper),(0,i.Z)({},"top"===l.iconPosition&&{marginBottom:6},"bottom"===l.iconPosition&&{marginTop:6},"start"===l.iconPosition&&{marginRight:a.spacing(1)},"end"===l.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===l.textColor&&(t={color:"inherit",opacity:.6},(0,r.Z)(t,"&.".concat(v.selected),{opacity:1}),(0,r.Z)(t,"&.".concat(v.disabled),{opacity:(a.vars||a).palette.action.disabledOpacity}),t),"primary"===l.textColor&&(n={color:(a.vars||a).palette.text.secondary},(0,r.Z)(n,"&.".concat(v.selected),{color:(a.vars||a).palette.primary.main}),(0,r.Z)(n,"&.".concat(v.disabled),{color:(a.vars||a).palette.text.disabled}),n),"secondary"===l.textColor&&(o={color:(a.vars||a).palette.text.secondary},(0,r.Z)(o,"&.".concat(v.selected),{color:(a.vars||a).palette.secondary.main}),(0,r.Z)(o,"&.".concat(v.disabled),{color:(a.vars||a).palette.text.disabled}),o),l.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},l.wrapped&&{fontSize:a.typography.pxToRem(12)})})),k=a.forwardRef((function(e,t){var n=(0,d.Z)({props:e,name:"MuiTab"}),r=n.className,c=n.disabled,g=void 0!==c&&c,f=n.disableFocusRipple,p=void 0!==f&&f,v=n.fullWidth,k=n.icon,w=n.iconPosition,Z=void 0===w?"top":w,A=n.indicator,y=n.label,C=n.onChange,S=n.onClick,q=n.onFocus,M=n.selected,_=n.selectionFollowsFocus,R=n.textColor,B=void 0===R?"inherit":R,T=n.value,P=n.wrapped,E=void 0!==P&&P,F=(0,o.Z)(n,x),W=(0,i.Z)({},n,{disabled:g,disableFocusRipple:p,selected:M,icon:!!k,iconPosition:Z,label:!!y,fullWidth:v,textColor:B,wrapped:E}),z=function(e){var t=e.classes,n=e.textColor,r=e.fullWidth,o=e.wrapped,i=e.icon,a=e.label,l=e.selected,c=e.disabled,d={root:["root",i&&a&&"labelIcon","textColor".concat((0,u.Z)(n)),r&&"fullWidth",o&&"wrapped",l&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.Z)(d,h,t)}(W),L=k&&y&&a.isValidElement(k)?a.cloneElement(k,{className:(0,l.Z)(z.iconWrapper,k.props.className)}):k;return(0,b.jsxs)(m,(0,i.Z)({focusRipple:!p,className:(0,l.Z)(z.root,r),ref:t,role:"tab","aria-selected":M,disabled:g,onClick:function(e){!M&&C&&C(e,T),S&&S(e)},onFocus:function(e){_&&!M&&C&&C(e,T),q&&q(e)},ownerState:W,tabIndex:M?0:-1},F,{children:["top"===Z||"start"===Z?(0,b.jsxs)(a.Fragment,{children:[L,y]}):(0,b.jsxs)(a.Fragment,{children:[y,L]}),A]}))}))},39124:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r,o=n(29439),i=n(4942),a=n(63366),l=n(87462),s=n(72791),c=(n(78457),n(28182)),u=n(94419),d=n(66934),g=n(31402),f=n(13967),p=n(83199);function h(){if(r)return r;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function v(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(h()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function b(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function x(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?b:i,l=r.duration,s=void 0===l?300:l,c=null,u=t[e],d=!1,g=function(){d=!0},f=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var l=Math.min(1,(i-c)/s);t[e]=a(l)*(n-u)+u,l>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};return u===n?(o(new Error("Element already at target position")),g):(requestAnimationFrame(f),g)}var m=n(17602),k=n(80184),w=["onChange"],Z={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var A=n(7883),y=n(11883),C=n(23701),S=n(75878),q=n(21217);function M(e){return(0,q.Z)("MuiTabScrollButton",e)}var _,R,B=(0,S.Z)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),T=["className","direction","orientation","disabled"],P=(0,d.ZP)(C.Z,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.orientation&&t[n.orientation]]}})((function(e){var t=e.ownerState;return(0,l.Z)((0,i.Z)({width:40,flexShrink:0,opacity:.8},"&.".concat(B.disabled),{opacity:0}),"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),E=s.forwardRef((function(e,t){var n=(0,g.Z)({props:e,name:"MuiTabScrollButton"}),r=n.className,o=n.direction,i=(0,a.Z)(n,T),s="rtl"===(0,f.Z)().direction,d=(0,l.Z)({isRtl:s},n),p=function(e){var t=e.classes,n={root:["root",e.orientation,e.disabled&&"disabled"]};return(0,u.Z)(n,M,t)}(d);return(0,k.jsx)(P,(0,l.Z)({component:"div",className:(0,c.Z)(p.root,r),ref:t,role:null,ownerState:d,tabIndex:null},i,{children:"left"===o?_||(_=(0,k.jsx)(A.Z,{fontSize:"small"})):R||(R=(0,k.jsx)(y.Z,{fontSize:"small"}))}))})),F=n(89683);function W(e){return(0,q.Z)("MuiTabs",e)}var z=(0,S.Z)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),L=n(98301),N=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],j=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},I=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},H=function(e,t,n){for(var r=!1,o=n(e,t);o;){if(o===e.firstChild){if(r)return;r=!0}var i=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!i)return void o.focus();o=n(e,o)}},$=(0,d.ZP)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,i.Z)({},"& .".concat(z.scrollButtons),t.scrollButtons),(0,i.Z)({},"& .".concat(z.scrollButtons),n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,n.vertical&&t.vertical]}})((function(e){var t=e.ownerState,n=e.theme;return(0,l.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,i.Z)({},"& .".concat(z.scrollButtons),(0,i.Z)({},n.breakpoints.down("sm"),{display:"none"})))})),X=(0,d.ZP)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var n=e.ownerState;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,l.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),Y=(0,d.ZP)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var n=e.ownerState;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,l.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),D=(0,d.ZP)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,n=e.theme;return(0,l.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),U=(0,d.ZP)((function(e){var t=e.onChange,n=(0,a.Z)(e,w),r=s.useRef(),o=s.useRef(null),i=function(){r.current=o.current.offsetHeight-o.current.clientHeight};return s.useEffect((function(){var e=(0,p.Z)((function(){var e=r.current;i(),e!==r.current&&t(r.current)})),n=(0,m.Z)(o.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}),[t]),s.useEffect((function(){i(),t(r.current)}),[t]),(0,k.jsx)("div",(0,l.Z)({style:Z,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),V={},O=s.forwardRef((function(e,t){var n=(0,g.Z)({props:e,name:"MuiTabs"}),r=(0,f.Z)(),d="rtl"===r.direction,b=n["aria-label"],w=n["aria-labelledby"],Z=n.action,A=n.centered,y=void 0!==A&&A,C=n.children,S=n.className,q=n.component,M=void 0===q?"div":q,_=n.allowScrollButtonsMobile,R=void 0!==_&&_,B=n.indicatorColor,T=void 0===B?"primary":B,P=n.onChange,z=n.orientation,O=void 0===z?"horizontal":z,K=n.ScrollButtonComponent,Q=void 0===K?E:K,G=n.scrollButtons,J=void 0===G?"auto":G,ee=n.selectionFollowsFocus,te=n.TabIndicatorProps,ne=void 0===te?{}:te,re=n.TabScrollButtonProps,oe=void 0===re?{}:re,ie=n.textColor,ae=void 0===ie?"primary":ie,le=n.value,se=n.variant,ce=void 0===se?"standard":se,ue=n.visibleScrollbar,de=void 0!==ue&&ue,ge=(0,a.Z)(n,N),fe="scrollable"===ce,pe="vertical"===O,he=pe?"scrollTop":"scrollLeft",ve=pe?"top":"left",be=pe?"bottom":"right",xe=pe?"clientHeight":"clientWidth",me=pe?"height":"width",ke=(0,l.Z)({},n,{component:M,allowScrollButtonsMobile:R,indicatorColor:T,orientation:O,vertical:pe,scrollButtons:J,textColor:ae,variant:ce,visibleScrollbar:de,fixed:!fe,hideScrollbar:fe&&!de,scrollableX:fe&&!pe,scrollableY:fe&&pe,centered:y&&!fe,scrollButtonsHideMobile:!R}),we=function(e){var t=e.vertical,n=e.fixed,r=e.hideScrollbar,o=e.scrollableX,i=e.scrollableY,a=e.centered,l=e.scrollButtonsHideMobile,s=e.classes,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,u.Z)(c,W,s)}(ke);var Ze=s.useState(!1),Ae=(0,o.Z)(Ze,2),ye=Ae[0],Ce=Ae[1],Se=s.useState(V),qe=(0,o.Z)(Se,2),Me=qe[0],_e=qe[1],Re=s.useState({start:!1,end:!1}),Be=(0,o.Z)(Re,2),Te=Be[0],Pe=Be[1],Ee=s.useState({overflow:"hidden",scrollbarWidth:0}),Fe=(0,o.Z)(Ee,2),We=Fe[0],ze=Fe[1],Le=new Map,Ne=s.useRef(null),je=s.useRef(null),Ie=function(){var e,t,n=Ne.current;if(n){var o=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:v(n,r.direction),scrollWidth:n.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(n&&!1!==le){var i=je.current.children;if(i.length>0){var a=i[Le.get(le)];0,t=a?a.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},He=(0,F.Z)((function(){var e,t,n=Ie(),r=n.tabsMeta,o=n.tabMeta,a=0;if(pe)t="top",o&&r&&(a=o.top-r.top+r.scrollTop);else if(t=d?"right":"left",o&&r){var l=d?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=(d?-1:1)*(o[t]-r[t]+l)}var s=(e={},(0,i.Z)(e,t,a),(0,i.Z)(e,me,o?o[me]:0),e);if(isNaN(Me[t])||isNaN(Me[me]))_e(s);else{var c=Math.abs(Me[t]-s[t]),u=Math.abs(Me[me]-s[me]);(c>=1||u>=1)&&_e(s)}})),$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.animation,o=void 0===n||n;o?x(he,Ne.current,e,{duration:r.transitions.duration.standard}):Ne.current[he]=e},Xe=function(e){var t=Ne.current[he];pe?t+=e:(t+=e*(d?-1:1),t*=d&&"reverse"===h()?-1:1),$e(t)},Ye=function(){for(var e=Ne.current[xe],t=0,n=Array.from(je.current.children),r=0;r<n.length;r+=1){var o=n[r];if(t+o[xe]>e){0===r&&(t=e);break}t+=o[xe]}return t},De=function(){Xe(-1*Ye())},Ue=function(){Xe(Ye())},Ve=s.useCallback((function(e){ze({overflow:null,scrollbarWidth:e})}),[]),Oe=(0,F.Z)((function(e){var t=Ie(),n=t.tabsMeta,r=t.tabMeta;if(r&&n)if(r[ve]<n[ve]){var o=n[he]+(r[ve]-n[ve]);$e(o,{animation:e})}else if(r[be]>n[be]){var i=n[he]+(r[be]-n[be]);$e(i,{animation:e})}})),Ke=(0,F.Z)((function(){if(fe&&!1!==J){var e,t,n=Ne.current,o=n.scrollTop,i=n.scrollHeight,a=n.clientHeight,l=n.scrollWidth,s=n.clientWidth;if(pe)e=o>1,t=o<i-a-1;else{var c=v(Ne.current,r.direction);e=d?c<l-s-1:c>1,t=d?c>1:c<l-s-1}e===Te.start&&t===Te.end||Pe({start:e,end:t})}}));s.useEffect((function(){var e,t=(0,p.Z)((function(){Ne.current&&(He(),Ke())})),n=(0,m.Z)(Ne.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(je.current.children).forEach((function(t){e.observe(t)}))),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),[He,Ke]);var Qe=s.useMemo((function(){return(0,p.Z)((function(){Ke()}))}),[Ke]);s.useEffect((function(){return function(){Qe.clear()}}),[Qe]),s.useEffect((function(){Ce(!0)}),[]),s.useEffect((function(){He(),Ke()})),s.useEffect((function(){Oe(V!==Me)}),[Oe,Me]),s.useImperativeHandle(Z,(function(){return{updateIndicator:He,updateScrollButtons:Ke}}),[He,Ke]);var Ge=(0,k.jsx)(D,(0,l.Z)({},ne,{className:(0,c.Z)(we.indicator,ne.className),ownerState:ke,style:(0,l.Z)({},Me,ne.style)})),Je=0,et=s.Children.map(C,(function(e){if(!s.isValidElement(e))return null;var t=void 0===e.props.value?Je:e.props.value;Le.set(t,Je);var n=t===le;return Je+=1,s.cloneElement(e,(0,l.Z)({fullWidth:"fullWidth"===ce,indicator:n&&!ye&&Ge,selected:n,selectionFollowsFocus:ee,onChange:P,textColor:ae,value:t},1!==Je||!1!==le||e.props.tabIndex?{}:{tabIndex:0}))})),tt=function(){var e={};e.scrollbarSizeListener=fe?(0,k.jsx)(U,{onChange:Ve,className:(0,c.Z)(we.scrollableX,we.hideScrollbar)}):null;var t=Te.start||Te.end,n=fe&&("auto"===J&&t||!0===J);return e.scrollButtonStart=n?(0,k.jsx)(Q,(0,l.Z)({orientation:O,direction:d?"right":"left",onClick:De,disabled:!Te.start},oe,{className:(0,c.Z)(we.scrollButtons,oe.className)})):null,e.scrollButtonEnd=n?(0,k.jsx)(Q,(0,l.Z)({orientation:O,direction:d?"left":"right",onClick:Ue,disabled:!Te.end},oe,{className:(0,c.Z)(we.scrollButtons,oe.className)})):null,e}();return(0,k.jsxs)($,(0,l.Z)({className:(0,c.Z)(we.root,S),ownerState:ke,ref:t,as:M},ge,{children:[tt.scrollButtonStart,tt.scrollbarSizeListener,(0,k.jsxs)(X,{className:we.scroller,ownerState:ke,style:(0,i.Z)({overflow:We.overflow},pe?"margin".concat(d?"Left":"Right"):"marginBottom",de?void 0:-We.scrollbarWidth),ref:Ne,onScroll:Qe,children:[(0,k.jsx)(Y,{"aria-label":b,"aria-labelledby":w,"aria-orientation":"vertical"===O?"vertical":null,className:we.flexContainer,ownerState:ke,onKeyDown:function(e){var t=je.current,n=(0,L.Z)(t).activeElement;if("tab"===n.getAttribute("role")){var r="horizontal"===O?"ArrowLeft":"ArrowUp",o="horizontal"===O?"ArrowRight":"ArrowDown";switch("horizontal"===O&&d&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),H(t,n,I);break;case o:e.preventDefault(),H(t,n,j);break;case"Home":e.preventDefault(),H(t,null,j);break;case"End":e.preventDefault(),H(t,null,I)}}},ref:je,role:"tablist",children:et}),ye&&Ge]}),tt.scrollButtonEnd]}))})),K=O},7883:function(e,t,n){"use strict";n(72791);var r=n(74223),o=n(80184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},11883:function(e,t,n){"use strict";n(72791);var r=n(74223),o=n(80184);t.Z=(0,r.Z)((0,o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},73905:function(e,t,n){e=n.nmd(e),ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){var e=this.createKeywordMapper({"invalid.deprecated":"debugger","support.function":"abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|float|list|raw_input|unichr|callable|format|locals|reduce|unicode|chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|__import__|complex|hash|min|apply|delattr|help|next|setattr|set|buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|ascii|breakpoint|bytes","variable.language":"self|cls","constant.language":"True|False|None|NotImplemented|Ellipsis|__debug__",keyword:"and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield|async|await|nonlocal"},"identifier"),t="[uU]?",n="[rR]",r="[fF]",o="(?:[rR][fF]|[fF][rR])",i="(?:(?:(?:[1-9]\\d*)|(?:0))|(?:0[oO]?[0-7]+)|(?:0[xX][\\dA-Fa-f]+)|(?:0[bB][01]+))",a="(?:\\d+)",l="(?:(?:"+a+"?(?:\\.\\d+))|(?:"+a+"\\.))",s="(?:"+("(?:(?:"+l+"|"+a+")(?:[eE][+-]?\\d+))")+"|"+l+")",c="\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string",regex:t+'"{3}',next:"qqstring3"},{token:"string",regex:t+'"(?=.)',next:"qqstring"},{token:"string",regex:t+"'{3}",next:"qstring3"},{token:"string",regex:t+"'(?=.)",next:"qstring"},{token:"string",regex:n+'"{3}',next:"rawqqstring3"},{token:"string",regex:n+'"(?=.)',next:"rawqqstring"},{token:"string",regex:n+"'{3}",next:"rawqstring3"},{token:"string",regex:n+"'(?=.)",next:"rawqstring"},{token:"string",regex:r+'"{3}',next:"fqqstring3"},{token:"string",regex:r+'"(?=.)',next:"fqqstring"},{token:"string",regex:r+"'{3}",next:"fqstring3"},{token:"string",regex:r+"'(?=.)",next:"fqstring"},{token:"string",regex:o+'"{3}',next:"rfqqstring3"},{token:"string",regex:o+'"(?=.)',next:"rfqqstring"},{token:"string",regex:o+"'{3}",next:"rfqstring3"},{token:"string",regex:o+"'(?=.)",next:"rfqstring"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"punctuation",regex:",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]\\)\\}]"},{token:["keyword","text","entity.name.function"],regex:"(def|class)(\\s+)([\\u00BF-\\u1FFF\\u2C00-\\uD7FF\\w]+)"},{token:"text",regex:"\\s+"},{include:"constants"}],qqstring3:[{token:"constant.language.escape",regex:c},{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],qstring3:[{token:"constant.language.escape",regex:c},{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],qqstring:[{token:"constant.language.escape",regex:c},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:c},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],rawqqstring3:[{token:"string",regex:'"{3}',next:"start"},{defaultToken:"string"}],rawqstring3:[{token:"string",regex:"'{3}",next:"start"},{defaultToken:"string"}],rawqqstring:[{token:"string",regex:"\\\\$",next:"rawqqstring"},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],rawqstring:[{token:"string",regex:"\\\\$",next:"rawqstring"},{token:"string",regex:"'|$",next:"start"},{defaultToken:"string"}],fqqstring3:[{token:"constant.language.escape",regex:c},{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring3:[{token:"constant.language.escape",regex:c},{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqqstring:[{token:"constant.language.escape",regex:c},{token:"string",regex:"\\\\$",next:"fqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstring:[{token:"constant.language.escape",regex:c},{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring3:[{token:"string",regex:'"{3}',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring3:[{token:"string",regex:"'{3}",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqqstring:[{token:"string",regex:"\\\\$",next:"rfqqstring"},{token:"string",regex:'"|$',next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],rfqstring:[{token:"string",regex:"'|$",next:"start"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"},{defaultToken:"string"}],fqstringParRules:[{token:"paren.lparen",regex:"[\\[\\(]"},{token:"paren.rparen",regex:"[\\]\\)]"},{token:"string",regex:"\\s+"},{token:"string",regex:"'[^']*'"},{token:"string",regex:'"[^"]*"'},{token:"function.support",regex:"(!s|!r|!a)"},{include:"constants"},{token:"paren.rparen",regex:"}",next:"pop"},{token:"paren.lparen",regex:"{",push:"fqstringParRules"}],constants:[{token:"constant.numeric",regex:"(?:"+s+"|\\d+)[jJ]\\b"},{token:"constant.numeric",regex:s},{token:"constant.numeric",regex:i+"[lL]\\b"},{token:"constant.numeric",regex:i+"\\b"},{token:["punctuation","function.support"],regex:"(\\.)([a-zA-Z_]+)\\b"},{token:e,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"}]},this.normalizeRules()};r.inherits(i,o),t.PythonHighlightRules=i})),ace.define("ace/mode/folding/pythonic",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],(function(e,t,n){"use strict";var r=e("../../lib/oop"),o=e("./fold_mode").FoldMode,i=t.FoldMode=function(e){this.foldingStartMarker=new RegExp("([\\[{])(?:\\s*)$|("+e+")(?:\\s*)(?:#.*)?$")};r.inherits(i,o),function(){this.getFoldWidgetRange=function(e,t,n){var r=e.getLine(n).match(this.foldingStartMarker);if(r)return r[1]?this.openingBracketBlock(e,r[1],n,r.index):r[2]?this.indentationBlock(e,n,r.index+r[2].length):this.indentationBlock(e,n)}}.call(i.prototype)})),ace.define("ace/mode/python",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/python_highlight_rules","ace/mode/folding/pythonic","ace/range"],(function(e,t,n){"use strict";var r=e("../lib/oop"),o=e("./text").Mode,i=e("./python_highlight_rules").PythonHighlightRules,a=e("./folding/pythonic").FoldMode,l=e("../range").Range,s=function(){this.HighlightRules=i,this.foldingRules=new a("\\:"),this.$behaviour=this.$defaultBehaviour};r.inherits(s,o),function(){this.lineCommentStart="#",this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),o=this.getTokenizer().getLineTokens(t,e).tokens;if(o.length&&"comment"==o[o.length-1].type)return r;"start"==e&&(t.match(/^.*[\{\(\[:]\s*$/)&&(r+=n));return r};var e={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(t,n,r){if("\r\n"!==r&&"\r"!==r&&"\n"!==r)return!1;var o=this.getTokenizer().getLineTokens(n.trim(),t).tokens;if(!o)return!1;do{var i=o.pop()}while(i&&("comment"==i.type||"text"==i.type&&i.value.match(/^\s+$/)));return!!i&&("keyword"==i.type&&e[i.value])},this.autoOutdent=function(e,t,n){n+=1;var r=this.$getIndent(t.getLine(n)),o=t.getTabString();r.slice(-o.length)==o&&t.remove(new l(n,r.length-o.length,n,r.length))},this.$id="ace/mode/python",this.snippetFileId="ace/snippets/python"}.call(s.prototype),t.Mode=s})),ace.require(["ace/mode/python"],(function(t){e&&(e.exports=t)}))},92205:function(e,t,n){e=n.nmd(e),ace.define("ace/theme/github.css",["require","exports","module"],(function(e,t,n){n.exports='/* CSS style content from github\'s default pygments highlighter template.\n   Cursor and selection styles from textmate.css. */\n.ace-github .ace_gutter {\n  background: #e8e8e8;\n  color: #AAA;\n}\n\n.ace-github  {\n  background: #fff;\n  color: #000;\n}\n\n.ace-github .ace_keyword {\n  font-weight: bold;\n}\n\n.ace-github .ace_string {\n  color: #D14;\n}\n\n.ace-github .ace_variable.ace_class {\n  color: teal;\n}\n\n.ace-github .ace_constant.ace_numeric {\n  color: #099;\n}\n\n.ace-github .ace_constant.ace_buildin {\n  color: #0086B3;\n}\n\n.ace-github .ace_support.ace_function {\n  color: #0086B3;\n}\n\n.ace-github .ace_comment {\n  color: #998;\n  font-style: italic;\n}\n\n.ace-github .ace_variable.ace_language  {\n  color: #0086B3;\n}\n\n.ace-github .ace_paren {\n  font-weight: bold;\n}\n\n.ace-github .ace_boolean {\n  font-weight: bold;\n}\n\n.ace-github .ace_string.ace_regexp {\n  color: #009926;\n  font-weight: normal;\n}\n\n.ace-github .ace_variable.ace_instance {\n  color: teal;\n}\n\n.ace-github .ace_constant.ace_language {\n  font-weight: bold;\n}\n\n.ace-github .ace_cursor {\n  color: black;\n}\n\n.ace-github.ace_focus .ace_marker-layer .ace_active-line {\n  background: rgb(255, 255, 204);\n}\n.ace-github .ace_marker-layer .ace_active-line {\n  background: rgb(245, 245, 245);\n}\n\n.ace-github .ace_marker-layer .ace_selection {\n  background: rgb(181, 213, 255);\n}\n\n.ace-github.ace_multiselect .ace_selection.ace_start {\n  box-shadow: 0 0 3px 0px white;\n}\n/* bold keywords cause cursor issues for some fonts */\n/* this disables bold style for editor and keeps for static highlighter */\n.ace-github.ace_nobold .ace_line > span {\n    font-weight: normal !important;\n}\n\n.ace-github .ace_marker-layer .ace_step {\n  background: rgb(252, 255, 0);\n}\n\n.ace-github .ace_marker-layer .ace_stack {\n  background: rgb(164, 229, 101);\n}\n\n.ace-github .ace_marker-layer .ace_bracket {\n  margin: -1px 0 0 -1px;\n  border: 1px solid rgb(192, 192, 192);\n}\n\n.ace-github .ace_gutter-active-line {\n    background-color : rgba(0, 0, 0, 0.07);\n}\n\n.ace-github .ace_marker-layer .ace_selected-word {\n  background: rgb(250, 250, 255);\n  border: 1px solid rgb(200, 200, 250);\n}\n\n.ace-github .ace_invisible {\n  color: #BFBFBF\n}\n\n.ace-github .ace_print-margin {\n  width: 1px;\n  background: #e8e8e8;\n}\n\n.ace-github .ace_indent-guide {\n  background: url("") right repeat-y;\n}\n\n.ace-github .ace_indent-guide-active {\n  background: url("") right repeat-y;\n}\n'})),ace.define("ace/theme/github",["require","exports","module","ace/theme/github.css","ace/lib/dom"],(function(e,t,n){t.isDark=!1,t.cssClass="ace-github",t.cssText=e("./github.css"),e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.require(["ace/theme/github"],(function(t){e&&(e.exports=t)}))}}]);
//# sourceMappingURL=3533.ed6ae7ee.chunk.js.map